package net.xo68.destiny.contract.enums;

/**
 * 工作节点负载均衡路由策略
 * @author wuxie
 * @version 2020-12-21
 */
public enum WorkerRouteStrategyEnum {
    /**
     * 随机
     */
    RANDOM("randomWorkerRouteStrategy"),
    /**
     * 轮循
     */
    ROUND("roundWorkerRouteStrategy");

    /**
     * bean名称
     */
    private final String beanName;

    WorkerRouteStrategyEnum(String beanName) {
        this.beanName = beanName;
    }

    public String getBeanName() {
        return beanName;
    }
}
